package com.ler.yrmall.order.form;

import com.ler.yrmall.basic.Form;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author Leron
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderFrom extends Form {

    private Integer status;

    private String skuName;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;

}
